package com.tql.pandian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tql.pandian.entity.PanDianPeriodShopEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PandianPeriodShopMapper extends BaseMapper<PanDianPeriodShopEntity> {

    int insertPandianPeriodShop(PanDianPeriodShopEntity entity);

    int batchInsertPandianPeriodShop(List<PanDianPeriodShopEntity> subList);

    int deleteBatchByIds(List<Long> ids);

    int updatePanDianPeriodShop(PanDianPeriodShopEntity entity);

    int updatePanDianPeriodShopCode(PanDianPeriodShopEntity entity);

    PanDianPeriodShopEntity selectPeriodShopById(Long id);

}
